#!/usr/bin/env python
# encoding: utf-8

import re, urllib, urllib2, cookielib, codecs, chardet, sys

class LoginRenRen():
    def __init__(self, name = '', password = '', domain = ''):
        self.name = name
        self.password = password
        self.domain = domain

        self.cj = cookielib.LWPCookieJar()
        try:
            self.cj.revert('renren.cookie')
            print 'successed got a cookie..'
        except Exception, e:


